﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SvnBlamer
{
    public partial class FormError : Form
    {
        public FormError()
        {
            InitializeComponent();
        }
        public FormError(string error, bool wrap)
        {
            InitializeComponent();
            this.textBox1.Text = error;
            ceWrap.Checked = wrap;
            this.Icon = System.Drawing.SystemIcons.Error;
        }
        public bool Wrap { get { return ceWrap.Checked; } }

        private void ceWrap_CheckedChanged(object sender, EventArgs e)
        {
            this.textBox1.WordWrap = ceWrap.Checked;
        }
    }
}
